<script>
    mayusculas();
</script>
<?php echo $this->Session->flash(); ?>
<fieldset>
    <?php
    echo $form->create('PaymentReview');
    echo $form->hidden("PaymentReview.id");
    echo $form->hidden("PaymentReview.payment_id");
    echo $form->hidden("PaymentReview.user_id");
    echo $form->hidden("PaymentReview.fecha", array("value" => date("Y-m-d H:i:s")));
    echo $form->input("PaymentReview.observacion", array('label' => "Observación", 'class' => 'txtarea'));
    echo $ajax->submit('Guardar', array('url' => array('controller' => 'PaymentReviews', 'action' => 'add', $this->data['PaymentReview']['payment_id']), 'update' => 'content', 'indicator' => 'loading'));
    echo $form->end();
    echo "<br><br>";
    echo $ajax->link($html->image('regresar.gif', array('width' => '30', 'heigth' => '30', 'alt' => 'Regresar', 'title' => 'regresar')), array('controller' => 'PaymentReviews', "action" => "index", $this->data['PaymentReview']['payment_id']), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading', 'escape' => false));
    ?>
</fieldset>